#ifndef CUSORCONTROL_H
#define CUSORCONTROL_H
#include <QObject>
#include <QPointF>
#include <QtQmlIntegration>
class CursorControl:public QObject
{
    Q_OBJECT
    QML_ELEMENT
    QML_SINGLETON
public:
    CursorControl();
    //设置光标的位置
    Q_INVOKABLE void setCursorPosition(QPointF pos);

};

#endif
